package com.zzyl.mapper;

import com.zzyl.entity.NursingPlanProject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanProjectMapper {

    int insert(List<NursingPlanProject> list);
    //查询是否有项目关联
    int selectByProjectId(Long id);
    //查询是否计划关联
    int selectByPlanId(Long id);

    void deleteByPlanId(Long planId);
}
